﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace sz.db.model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("hot_fault")]
    public partial class hot_fault
    {
           public hot_fault(){


           }
           /// <summary>
           /// Desc:编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string id {get;set;}

           /// <summary>
           /// Desc:故障编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string error_id {get;set;}

           /// <summary>
           /// Desc:机器名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string machine_name {get;set;}

           /// <summary>
           /// Desc:机器编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string machine_code {get;set;}

           /// <summary>
           /// Desc:故障标题
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string error_title {get;set;}

           /// <summary>
           /// Desc:故障等级(0：一般告警，1：严重故障)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string error_level {get;set;}

           /// <summary>
           /// Desc:第1次触发时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? first_error_time {get;set;}

           /// <summary>
           /// Desc:故障开始时间
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime error_time {get;set;}

           /// <summary>
           /// Desc:故障结束时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? error_end_time {get;set;}

           /// <summary>
           /// Desc:所属机构编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string office_id {get;set;}

           /// <summary>
           /// Desc:数据最后修改时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? last_updated_time {get;set;}

           /// <summary>
           /// Desc:数据导入云标识(0：未导入，1：已导入)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string send_to_cloud_flag {get;set;}

           /// <summary>
           /// Desc:用户id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string user_id {get;set;}

    }
}
